package com.swyc.osschat.Test.designMode.visitor.vo;

import com.swyc.osschat.Test.designMode.visitor.service.Friend;

/**
 * @description 具体访问者角色：李四
 * @Author: z156940l@outlook.com
 * @className LiSi
 * @Date: 2022/6/27 16:16
 */
public class LiSi implements Friend {

    @Override
    public void visit(RoomA roomA) {
        System.out.println("李四访问房间A");
    }

    @Override
    public void visit(RoomB roomB) {
        System.out.println("李四访问房间B");
    }
}
